# coding:utf-8   #9*9乘法表
# from __future__ import print_function
#
# for i in range(1, 10):
#     for j in range(1, i + 1):
#         s = i * j
#         print("%s*%s=%s" % (j, i, s), end=' ')
#     print()

''' #@乘法口诀
while i:
    j = 1
    while j:
         print j,"*",i,'=',''
    if i == j:
            break
            j += 1
            if j >= 10:
                break
                i += 1
    if i >= 10:
     break
'''
# for i in range(1,10):
#     for k in range(1,):
#        print ("\n")
#     for j in range(1,10):
#         print "%d * %d =%2d " %(i ,j,i*j), "\n"
# print ('')



s = 'jiojijwierjiwy79hgafuihjifhu9yf9wbrweroio0af'
for i in range(0,len(s),2):
    print(s[i])
for (index,vaules)in enumerate(s):
    print ('index=%s,values=%s' %(index,vaules))
    sequence = [15,56,154,241,25,24,2485,2689,589,989,54587,879,59,789,]
for i,j in enumerate(sequence):
    print (i,j)

# a = [[1,1],[3,2],[4,1],[5,6],[4,45],[1,3],[15,56],[62,12],[26,15],[15,15]]
# sum = 0
# for k in range(0, 11):
#   print a[k]
#         sum = sum + a[k][m]
# print sum

a = [[1,2,3],[4,5,6],[7,8,9]]
print (a)
print (a[0])
print (a[1])
print (a[2])
print (a[0][0],a[0][1],a[0][2])
sum = 0
for i in range(0,3):
    for j in range(0,3):
        sum=sum+a[i][j]
print (sum)